import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/results'
  },
  {
    path: '/results',
    name: 'results',
    component: () => import(/* webpackChunkName: "results" */ '../views/Results.vue')
  },
  {
    path: '/player',
    name: 'player',
    component: () => import(/* webpackChunkName: "player" */ '../views/Player.vue')
  }
  // 剩下的业务页面逻辑请大家自行完成
]

const router = new VueRouter({
  routes
})

export default router
